import { ApiProperty } from "@nestjs/swagger";
import { IsNotEmpty } from "class-validator";

export class CreateSpiderDto { }

export class getUrlSpiderDto {
    @ApiProperty({ description: '链接' })
    @IsNotEmpty()
    url: string;
}